|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnegotiator.Agent
agents.QOAgent
public class QOAgent
| Field Summary | |
|---|---|
UtilitySpace[] |
opponentModels
|
| Fields inherited from class negotiator.Agent |
|---|
fNegotiation, parametervalues, sessionNr, sessionsTotal, startTime, strategyParameters, timeline, totalTime, utilitySpace |
| Constructor Summary | |
|---|---|
QOAgent()
|
|
| Method Summary | |
|---|---|
Action |
chooseAction()
this function is called after ReceiveMessage, with an Offer-action. |
static java.lang.String |
getVersion()
|
void |
init()
This method is called by the protocol every time before starting a new session after the internalInit method is called. |
void |
prepareAction(int pMessageType,
java.lang.String pMessage)
|
void |
ReceiveMessage(Action opponentAction)
informs you which action the opponent did |
| Methods inherited from class negotiator.Agent |
|---|
endSession, getAgentID, getName, getParameterValues, getSessionNumber, getSessionsTotal, getStrategyParameters, getUniqueIdentifier, getUtility, internalInit, isUIAgent, loadSessionData, parseStrategyParameters, restartDataObjectsFolder, saveSessionData, setAgentID, setName, sleep |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public UtilitySpace[] opponentModels
| Constructor Detail |
|---|
public QOAgent()
| Method Detail |
|---|
public Action chooseAction()
Agent
chooseAction in class Agentpublic static java.lang.String getVersion()
public void init()
Agent
init in class Agentpublic void ReceiveMessage(Action opponentAction)
Agent
ReceiveMessage in class Agent
public void prepareAction(int pMessageType,
java.lang.String pMessage)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||